package com.qianduo.exception;

import com.qianduo.util.Constants;

@SuppressWarnings("serial")
public class CommonException extends Exception {
	public CommonException() {
	}

	public CommonException(String arg0) {
		super(arg0);
		Constants.log.error(arg0);
	}

	public CommonException(Throwable arg0) {
		super(arg0);
		Constants.log.error(arg0);
	}

	public CommonException(String arg0, Throwable arg1) {
		super(arg0, arg1);
		Constants.log.error(arg0,arg1);
	}

}
